package com.max.back.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("doctor")
public class Doctor implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId("id")
    private String id;

    @TableField("user_type")
    private Integer userType;

    @TableField("username")
    private String userName;

    @TableField("password")
    private String password;

    @TableField("real_name")
    private String realName;

    @TableField("phone")
    private String phone;

    @TableField("sex")
    private Integer sex;

    @TableField("age")
    private Integer age;

    @TableField("doctor_level_id")
    private String doctorLevelId;

    @TableField("deleted")
    private Boolean deleted;

    @TableField("gmt_create")
    private Date gmtCreate;

    @TableField("gmt_modify")
    private Date gmtModify;
}
